<!DOCTYPE html>
<html>
<head>
    <meta charset="utf8">
    <title>在线音乐网</title>
    <link href="{{ url_for('static',filename='css/pt_discover_index.css')}}" type="text/css" rel="stylesheet">
    <link href="{{ url_for('static',filename='css/pt_frame.css')}}" type="text/css" rel="stylesheet">
</head>
<script>
try {
	top.matchNav("discover", "playlist");
    } catch (e) {}
</script>
<body>
    <div class="g-bd" id="m-disc-pl-c">
        <div class="g-wrap p-pl f-pr">
            <div class="u-title f-cb">
                <h3>
                    <div>
                    <a href="{{url_for('home.styleList')}}" class="u-btn2-1 menu d-flag {% if current_page == 'styleList' %}current{% endif %}">
                        <i>全部<em class="u-icn u-icn-38"></em></i>
                    </a>
                    {% for v in page_data1.items %}
                        {% if v.name != '其他' %}
                            <a href="{{url_for('home.styleList',type=v.id)}}" class="u-btn2-1 menu d-flag {% if current_page == 'styleList' and current_type == v.id %}current{% endif %}">
                                <i>{{v.name}}<em class="u-icn u-icn-38"></em></i>
                            </a>
                        {% endif %}
                    {% endfor %}
                    <a href="{{url_for('home.styleList',type=6)}}" class="u-btn2-1 menu d-flag {% if current_page == 'styleList' and current_type == 6 %}current{% endif %}">
                        <i>其他<em class="u-icn u-icn-38"></em></i>
                    </a>
                </div>

                </h3>
            </div>
            <div id="m-search">
                <div class="ztag j-flag" id="auto-id-oRFIQkCKNyCtcR5R">
                    <div class="n-srchrst">
                        <div class="srchsongst">
                            {% for song in page_data.items %}
                            <div class="item f-cb h-flag even ">
                                <div class="td">
                                    <div class="hd">
                                        <a class="ply " title="播放"
                                            onclick='playA("{{song.songName}}","{{song.id}}");'></a>
                                    </div>
                                </div>
                                <div class="td w0" style="width: 300px">
                                    <div class="sn">
                                        <div class="text">
                                            <b title="Lose Yourself "><span
                                                    class="s-fc7">{{song.songName}} </span></b>
                                        </div>
                                    </div>
                                </div>
                                <div class="td w1">
                                    <div class="text">
                                        {{song.singer}}
                                    </div>
                                </div>
                                <div class="td w1">
                                    {{song.tag.name}}
                                </div>
                                <div class="td w1">
                                    播放：{{song.hits}}次
                                </div>

                            </div>
                            {% endfor %}
                        </div>
                    </div>
                </div>
                <table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                        <td height="24" align="right">
                            当前页数：[{{page_data.page}}/{{page_data.pages}}]&nbsp;
                            <a href="{{ url_for('home.styleList',page=1,type=type) }}">第一页</a>
                                {% if page_data.has_prev %}
                                  <a href="{{ url_for('home.styleList',page=page_data.prev_num,type=type) }}">上一页</a>
                                {% endif %}
                                {% if page_data.has_next %}
                            　     <a href="{{ url_for('home.styleList',page=page_data.next_num,type=type) }}">下一页</a>
                                {% endif %}　
                            <a href="{{ url_for('home.styleList',page=page_data.pages,type=type) }}">最后一页&nbsp;</a>
                        </td>
                    </tr>
                </table>
                <div class="j-flag"></div>
            </div>
        </div>
    </div>
    {% include 'home/footer.html' %}
</script>
<script>
function playA(name,id){
window.parent.playMusic(name,id);
}
function addShow(id){
window.parent.addShow(id);
}
</script>
</body>
</html>